#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
 * @Auther: lizhx
 * @Date: ${DATE} ${HOUR}:${MINUTE}
 * @Description: 
 */
public enum ${NAME} implements BaseErrorCode{
   /*参数错误码*/
    PARAM_ERROR_0001(0001, "参数错误", 0001 + 0001, "TXN_CODE交易码参数不能为空"),
    /*业务错误码*/
    @SuppressWarnings("unused")
    BIX_ERROR_0001(0001, "业务异常", 0001 + 0001, "hostResult结果为空"),
    /*系统错误码*/
    @SuppressWarnings("unused")
    SYS_ERROR_0001(0001, "系统异常", 0001 + 0001, "hostResult中hostDetailBean为空");
    ${NAME}(int code, String msg) {
		/*一级响应码和响应信息*/
		this.code = code;
		this.msg = msg;
		/*二级响应码和响应信息*/
		this.sysCode = code;
		this.sysMsg = msg;
	}

	${NAME}(int code, String msg, int sysCode, String sysMsg) {
		/*一级响应码和响应信息*/
		this.code = code;
		this.msg = msg;
		/*二级响应码和响应信息*/
		this.sysCode = sysCode;
		this.sysMsg = sysMsg;
	}
	
	/*一级响应码和响应信息*/
	private int code;
	private String msg;
	/*二级响应码和响应信息*/
	private int sysCode;
	private String sysMsg;
	
	public int getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

	public int getSysCode() {
		return sysCode;
	}

	public String getSysMsg() {
		return sysMsg;
	}
}